package com.duoduo.admin.api.dto;

import java.time.LocalDateTime;
import java.util.List;

import com.duoduo.devtools.generator.CodeGenerator;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(name="角色表")
public class SysRoleDTO {
	
	@Schema(description="id")
	private Long id;
	@Schema(description="角色名称")
	private String roleName;
	@Schema(description="code码")
	private String roleCode;
	@Schema(description="说明")
	private String  roleDesc;
	@Schema(description="删除标识")
	private Boolean  delFlag;
	
	@Schema(description="创建人")
	private String createBy;
	@Schema(description="创建时间")
	private LocalDateTime createTime;
	@Schema(description="修改人")
	private String updateBy;
	@Schema(description="更新时间")
	private LocalDateTime updateTime;
	@Schema(description="绑定的菜单id")
	private List<Long> menuIds;
	
	public static void main(String[] args) {
		CodeGenerator codeGenerator = new CodeGenerator(SysRoleDTO.class);
		codeGenerator.generateClass();
	}

}
